package com.play.ballen.me.adapter

import com.chad.library.adapter.base.BaseQuickAdapter
import com.chad.library.adapter.base.viewholder.BaseViewHolder
import com.play.ballen.R
import com.play.ballen.me.entity.ClaimedInfo

class ClaimedAdapter(data: MutableList<ClaimedInfo>) :
    BaseQuickAdapter<ClaimedInfo, BaseViewHolder>(R.layout.item_claimed, data) {

    override fun convert(holder: BaseViewHolder, item: ClaimedInfo) {
        holder.setText(R.id.tvName, item.remark)
        holder.setText(R.id.tvDesc, item.price)
        holder.setText(R.id.tvTime, item.add_time)
        holder.setText(R.id.tvUnit, item.money_type)
    }

}